package args

import "fmt"

func foo(args ...int)  { //param*  = arg
	for _, v := range args {
		fmt.Println(v)
	}
}
func foo1(args []int)  {  // param = []int
	for _, v := range args {
		fmt.Println(v)
	}
}

func Test(){
	foo(1,2,3,4,5,6,)
	tmp  := []int{10,20,203}

	foo1(tmp)
}